<style scoped>
.user_row{margin-top: 12px;}
.user_row .user_info{--van-cell-icon-size: 32px;--van-cell-line-height:32px;}
.user_row .count_info{--van-cell-line-height:1.2;}
</style>
<template>
  <HeaderSlot>
    <van-nav-bar :title="$t('我的团队')" left-arrow @click-left="href_handle(-1)" />
  </HeaderSlot>
  <RequestListSlot url="/home/team/children" pull_refresh >
    <template #default="{row}">
      <van-cell-group inset class="user_row">
        <van-cell class="user_info" :icon="row.head_img" :title="row.nickname+'(ID='+row.id+')'" :value="row.level_str" />
        <van-cell class="count_info" :title="'消费金额：'+row.order_price" :value="'订单数：'+row.order_num" />
      </van-cell-group>
    </template>
  </RequestListSlot>
</template>

<script>
import {ajax} from "@/js/api_tool.js";
import HeaderSlot from "@/components/slot/HeaderSlot.vue";
import {href_handle} from "@/vue_plugin/router_auto.js";
import RequestListSlot from "@/components/slot/RequestListSlot.vue";

export default {
  components: {RequestListSlot, HeaderSlot},
  data(){
    return {
    }
  },
  methods:{
    href_handle,
  },
  computed:{},
  mounted(){

  }
}
</script>